Bookly\Lib\Cloud\API S

Total Complexity 37
Dependencies 14
Dependents 38
Total lines 342
Lines of code 137
Logical lines of code 75
Comment lines 127
Methods 19
Properties 15

Methods 19

Method Rating Maintainability Complexity Lines of code
_sendRequest()
S
50 6 28
_handleResponse()
S
57 5 16
_translateError()
S
60 4 12
dispatch()
S
65 3 9
buildUrl()
S
63 3 10
setRequestTimeout()
S
69 2 7
getInstance()
S
71 2 6
__construct()
S
61 1 12
listen()
S
80 1 3
sendDeleteRequest()
S
74 1 4
getToken()
S
82 1 3
addError()
S
80 1 3
getErrors()
S
82 1 3
clearErrors()
S
81 1 3
addErrorTranslator()
S
80 1 3
sendPatchRequest()
S
74 1 4
sendPostRequest()
S
74 1 4
sendGetRequest()
S
74 1 4
setToken()
S
81 1 3